package com.netwrok.mem;

import com.ex.common.ObjectFactory;
import com.ex.common.ObjectPool;
import com.netwrok.IoEvent;

public class IoEventPool extends ObjectPool<IoEvent> {

	public IoEventPool(ObjectFactory<IoEvent> factory, int initSize, int maxSize) {
		super(factory, initSize, maxSize);
	}

	private static ObjectPool<IoEvent> pool = new IoEventPool(
			new IoEventFactory(), 1024, 4096);

	public static ObjectPool<IoEvent> getPool() {
		return pool;
	}

}